package com.ingrid.babySitter.model;

import java.sql.SQLException;

public class Model {

	private DAO dao;

	public Model() throws ClassNotFoundException, SQLException {
		this.dao = new DAO();
	}

	public void inserirBaba(Baba baba) throws SQLException {
		this.dao.inserirBaba(baba);
	}

	public void inserirCliente(Cliente cliente) throws SQLException {
		this.dao.inserirCliente(cliente);
	}

}
